import request from '@/utils/request'


//111111
export function departmentAdd(departmentTypeName) {
  return request({
    url: '/godGuang-patients/department/departmentAdd/' + departmentTypeName,
    method: 'post',
  })
}

export function departmentList() {
  return request({
    url: '/patients/department/departmentList',
    method: 'post',
  })
}

export function patients(data) {
  return request({
    url: '/patients/content/contentList',
    method: 'post',
    data:data
  })
}

export function contentList(data) {
  return request({
    url: '/godGuang-patientsEs/es/list',
    method: 'post',
    data:data
  })
}
export function contentAdd(data) {
  return request({
    url: '/patients/content/contentAdd',
    method: 'post',
    data:data
  })
}
export function diseaseList(catalogueId) {
  return request({
    url: '/patients/content/diseaseList/' + catalogueId,
    method: 'post'
  })
}
export function personalPublishingList(catalogueId) {
  return request({
    url: '/patients/content/personalPublishingList/' + catalogueId,
    method: 'post'
  })
}

export function contentById(contentId) {
  return request({
    url: '/patients/content/contentById/' + contentId,
    method: 'post'
  })
}
export function myCollection(userId) {
  return request({
    url: '/patients/content/myCollection/' + userId,
    method: 'post'
  })
}

export function reviewList(userId) {
  return request({
    url: '/patients/review/reviewList/' + userId,
    method: 'post'
  })
}
export function contentEnshrineMiddleData(data) {
  return request({
    url: '/patients/content/contentEnshrineMiddleData',
    method: 'post',
    data:data
  })
}
export function healthVideoAdd(data) {
  return request({
    url: '/patients/healthVideo/healthVideoAdd',
    method: 'post',
    data:data
  })
}

export function reviewAdd(data) {
  return request({
    url: '/patients/review/reviewAdd',
    method: 'post',
    data:data
  })
}

export function contentEnshrineMiddleAdd(data) {
  return request({
    url: '/patients/content/contentEnshrineMiddleAdd',
    method: 'post',
    data:data
  })
}
export function healthVideoList(data) {
  return request({
    url: '/patients/healthVideo/healthVideoList',
    method: 'post',
    data:data
  })
}
